package com.imooc.controller;


import com.imooc.service.StuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import springfox.documentation.annotations.ApiIgnore;

@ApiIgnore
@RestController
public class StuFooController {


    @Autowired
    private StuService stuService;

    @GetMapping("/getSku")
    public Object getSku(int id) {
        return stuService.getStuInfo(id);
    }

}
